package top.zsyle.sycc.dto;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import javax.validation.constraints.NotEmpty;
import java.util.List;

@Data
@AllArgsConstructor
@NoArgsConstructor
public class CourseOrderDto {
    @NotEmpty(message = "课程不能为空！")
    private List<Long> courseIds;
    private Integer payType;
    private String token;
    private Integer type;
}
